package com.mfangsoft.zhuangjialong.integration.tag.service.impl;


import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mfangsoft.zhuangjialong.integration.tag.mapper.BaseTagMapper;
import com.mfangsoft.zhuangjialong.integration.tag.model.BaseTag;
import com.mfangsoft.zhuangjialong.integration.tag.service.TagService;



@Service
public class TagServiceimpl implements TagService {
	
	
	private static final Logger LOGGER = LoggerFactory.getLogger(TagServiceimpl.class); 
	
	
	@Autowired
	private BaseTagMapper baseTagMapper;


	@Override
	public void addTag(BaseTag baseTag) {
		baseTagMapper.addTag(baseTag);
	}


	@Override
	public List<BaseTag> selectTag(BaseTag baseTag) {
		return baseTagMapper.selectTag(baseTag);
	}


	@Override
	public void updateGiftOne(BaseTag baseTag) {
		baseTagMapper.updateGiftOne(baseTag);
	}


	@Override
	public void deleteTagOne(int id) {
		baseTagMapper.deleteTagOne(id);
	}
	
}
